import { Get,Post,Put,Delete } from "../utils/axios";

// 团队信息查询
export const FindAllUserItem =  (params:object) => {
    let ret = Get('userItem',params);
    return ret;
    // console.log(ret);
};
export const FindUserItemById =  (params:any) => {
    let ret = Get('userItem/'+params.id);
    return ret;
    // console.log(ret);
};
// 团队信息添加
export const AddUserItem =  (params:object) => {
    let ret =  Post('userItem',params);
    return ret;
    // console.log(ret);
};
// 团队信息修改
export const UpdateUserItem =  (params:object) => {
    let ret =  Put('userItem',params);
    return ret;
    // console.log(ret);
};
// 团队信息删除
export const DeleteUserItem =  (params:object) => {
    let ret =  Delete('userItem',params);
    return ret;
    // console.log(ret);
};